refact static