adding the option for a fragment parameter to the state transition