reporting: simplify code