added 'discard all' command