Adding comments to message print format and function