added final
added dof to final