damn file order and static variables