updated clear visits rule