checking databses