final touched up versions of code before submission