add comments, change del() to avoid mistake