the print table class finished