added print functions