Added function buildComments()