edit code and comment