added return types to foreman BasicResult