improve comments, explain intent