client - middleware communcation nearly done