completed all requirements and optional requirements for homework 4