Refactoring playMethod