moved close to entering state