refactor the 'helloworld' example and debugging text