added code commets.