replaced mysql with queryDB, test more later