use refed print func to test