Changed the category from NSMutableArray to NSArray to simplify main code