a bunch of functions static now