Adding a resource