Using local variables. Trying to be a bit cleaner.