Added detailed comments
Added detailed comments