correct that caching method so that it removes things from where they are leaving and adds them to where they are going