create print relate method