print functions explanation for Habib