Localization for the camera function
add the nil parameter
change how localization works
Merge branch 'localization'