Replaced "building" with "resource"