basic interface changed, putting back in the cid and middleware
communicates with customers