refactored resource production
cont.