moved value function initialization to within the singleagent package