implement setdofvalues