fixed class name and initialized engine