Adding seprate lines for middleware