Removed useless nth function