fixed stupid temporary variable bug
engine version 1.3.5
added conditional statement tests