HW7_3 Engine program