Double jump functioning! Working on raising errors for invalid sequences.