added Speed class to project