'hello world' primer as a function