added ressouces stuff