rate stored and retrieved from in local storage