redefine how transitions are defined