lab5, cs3240