Fixed: Avoid variables with short names like $r.