added remove method for Node