lab5 partially finished