working with public resources