local settings sample