not working version, solve the unkonwn state update