ressources new constructor