first working version over unsynchronized databases!