I don't know why main was not in the dofs package but I corrected it.