corrected subseq and nth buiiltInFunctions