add function of localisation