IT WORKS full test running and program functions as intended...refactoring needed