adding refactored bob file