Added styles, and print table functions