HelloWorld updated with sub method