accepts now all resources, which return results, otherwise resource is
ignored