added a new parameter to query peer cloud method