add printing to console