Modified assignment_9