refactored visits_summary scoped_methods