added a resource