version of program before testing. Problems with constructor were shot down