lab8 fixed