start to implement visitetd state
start to implement visitetd state