first prototype of resources calls