Added basic key based localization