working basicDb