location detection v.1