Refactoring the inPlay