Dev 1.0

the 3 lines above is somehow similar to the code in generateRandomItems. You could create a method returning NSArray and have a parameter for the value you will pass in pathForResource.