added and standardized comments.