fixing parameters for transition function