html output generation added