added print table at command line