print to console