modified add_info() to work with single visits