first version of engine with test program