add ST and State
update random