method simplified.
remove some comments.