replaced sample code with first version of web page