preview is functional
more ksource inputs
more preview logic