added help message and view print method