added client query for clouds