Changed Function name from check_play() to switch_play()