Proper local settings sample