added ressources. some fixes