Cleaning up unnecessary local variable