testing dof code