lab5 and lab9 updated, very small changes