Implemented base localization functionality