refactored to an intu cookbook