Added change of speed and level

Refactoring