Simple location detector