struc version only does state and input