add print value to end