Removed two unused variables