added storage per resource
added storage per resource