changed value function so always from white pov