added first part of the engine