lab5 and lab6