refine lab3