Implemented remove functionality