added transitions in player