more logic to modify_label()