Rough draft of the engine done