add remove nth from end of list