Refactor outMonad creation