add information to print function