added changes in Engine class