add a method to query pbsnodes