location mode added