actually doing what is asked for in ex 4
fixed another abbreviation issue in ex 5