implemented dropnode