chaned variable name to "LocalStore"