Moved printing helper funcionts to this module