clean code and add speed offset variable