adding remove method.