trying to work with indexedDB