refactoring, add limit to DevResource