final for lab 3