simplify code path