lab05 runs ALMOST properly