dummy client
adapted middleman to work with dummy client