Got rid of the unnecessary local variable