setting resources