Improved visits model