refactor hello world