moved discrete button to separate partial