remove working circularly for both lists.