added comments for code listings