finals for lecture 3