code lab 2 revision