saved 2k of size by preventing globals in release build