Removed an unnecessaery variable