changed method name for /resources