implementing getWebContent