Refactored resource outside