edited comments for clarity.