add comments function and view