document the remove method