slowMotion and some refactoring