experimental code for non-uniform transients