added localDb operability