changes in algo and added location management