minor changes to test new discard