the first commit will probably be wrong because I've probable misunderstood side effects grumble grumble

it says that `new Class()` is a side effect and to not use new for it. Therefore i looked up side effects and what I got told is that this would be invoking the entire function but not using it all. therefore it told me to just rewrite what was going to be used, which I thought was the return bit. I HATE LIFE OK???