refactored building rewards to subactions