adding some print functions