gate initial state