database functions work with rotate-delete (fetch, store)