It's not obvious what it's doing from the code?