Some updates to left diversity function.