discovery of activities and visits