code for the tune simple cut variable