added input and output to index.html