Add visitor data retrieval function
fix git conflict