added play condition