make print function.