final for cs297