added discard demo