I believe this would be nicer if broken out (imagine trying to analyze this in a debugger as written).