Add code comments
Replacing echo with printf