I believe this may require adding an optional parameter for different components that says what state variables are inputs in it