Refatored names of variables in Engine.cs