Added code in ressource