changed toNSMutable array to be shorthand and concise.