add comment to some important function