turned the gem into an engine