replace mysql with queryDB()