created a basic engine