lab4 first attempt