Simplify code, count backwards.