Add  print result method and correct some method names