split static from main