Completed assignment with example