adjusted max speed, added method to handle brake button