pulled print function out of module into example
factored like a boss