only discard if prior has no functions or constants