Add some comments about this function.