finished reading ch 9. time to code