reorganizing resource data