add some comments for clarity