worked on the play methode