support print function

support print function