outputs to webpage
now outputs to web page