Lab 6 Code