refactor unplay