terminal output from class