added adding of visits