allow for transition type to be set