changed some constants in Engine class