changed "print_help" into deterministic pure func