Change the way value is botained