namechange of the source method to resource plus extra parameter for the type of resource returned by the method