Code lab 7 revision