Adding draft middleware