add a custom 'getRessources' function