all sequences moved to left recursion