Improving resource generation