added getRessource behavior