Factored out two variables and saved 4 characters.