Removed unnecessary local var