Ajay/Melanie | #000| Added comments to understand code workflow