lab-1 has some bug