A method designed for indoor navigation