allow passing of block to track_visit