Removed unneeded extra variable