worksheet 7 code