added distinction between value parameters and state parameters (which change less frequently)