add behavior for player mode