Added the locate method