use printf for table