added output and calculation html