Removed 2 unused variables