Improved code presentation: indentation, (c) header, comments.