compiled aDiscard