change info to query