Better names for some variables and a method.