remove the return in the middle of the play function