added removeNode impl