Added erroneous continous sequence function