working on visit submit