create and add resources