add a method to hello class