create function print and call it from object h