added cleaning function based on dR and a few new collections for synchronization