playing around with structure of program