handlers to put and get values from the store