updated remove() method