Added state output to div