adding a missing 'static' to an internal function