reusing localStorage