Use print functions for different output formats