bill: add unitbefore and unitafter support;