Updated comments for better clarity.