this looks like it should be `var`ed else it be global