Assignemt 9 working with all methods