Why didn't I notice this before?
Made some changes to function-names.
Added a performance clause.
Added a blank line at the end.