Updated comments for clarity.