Turn localsettings into a sample