Implemented remove method