defined value function