complete helloWorld function