updated comments in Engine class