rework static int