Added Bender middleware