.pdf generated for labs 4 and 7