Lots of code needs to be debugged. Ready for Friday