Finished localization code, need turning to test