repalce mysql with queryDB()