code state