added record route option