Changed comments for easier understanding.