refactored code to accommodate new name: Foreman