Made compile and added support for Max Speed