Update Engine.cpp - reflects new functionality