I declared everything in the header file and defined it in the cpp file. Not sure why the main program file is saying this member does not exists