Removed unneccessary local variable