started to added the S3 method for printing tableone