changed NSmutableSet to NSMutableArray