Docs for nth
Docs for takeWhile and dropWhile