implement sw control in serial