all problems in lab5 comments addressed