working on visit details