finished the comments functionality