D is fixed as constant, v is turned into an argument