added the visit assumption
implemented havoc