add comments function