everything for lab3 works