styles added & html output updated