changed method of add comment