oops
added helper function to for output to user