added in the resources controller