added  print functions