now can query the db and get the reply