This method is no longer used since you added the getVisits method at the bottom, right? If that's the case, please remove it.