gets halfway through final test code