Added print a value function