adds comment functionality