basic program working, added goals