added engine validation