added a small html table building method