@siddheshwar-more - Can you  please add some comments for various conditions?