add some notes on middleman