add eqc_gen:return for slight performance improvements