refactor
example prints to screen