added multiple view route logic.