modify the PlayingScene class