Adding 'discard' method