prefer prefix to postfix in loops