adding x resources