Cleaned some code up with, if a method is used more than once assign it to a variable.