fixed state
new codes