my first try with indexeddb