fixes

static means only available to this file, since C isn't OOP