added discard demo python