Nit: This segment of the code is a bit hard to read due to the lack of whitespace.