add pause play functions and assets