add find nth from the end