finished debugging, ready for submission.