copy minimal to potentially merge with @rcharts howitworks