added default flag for transition