done with lab 4. bug fixes left.