Task2 implement Remove method