add rm-nth-from-end