added functionality to fetch and parse visitors