added lowercase db construction