change loop for webservice call display