add printing of input