remove 2 short lived local variables