I'd remove the blank lines and coalesce 369, 371, and 373 to be one block since they are all logically obtaining and checking 'result'.