completed prac4, both views