Finished implementing localization