print functions added