add two print functions