By having the user pass in the resources, we can make them generic, this way the user can choose the size of the individual resources