create comments functionality