dof automatically adjusts