Up State Code