add resources and handle them