fix lab_3 and add lab_4