add print functions