Shorten code by using temp variables, cleanup variable names.