mark internal functions static