set typeOfResource and genre