add clear() method - to empty a collection