add remove element and remove nth node from list