Using local variables requires more lines, but makes it more readible.