Adding example middleware