why extracting this to a variable that is not used else where and in the method above is not used the same code style for the same case?