got a incomplete skeleton program working