changing the play logic