putting it together lab (lab5)