Modified add erroneous sequence value function