First version of location tool