more work on spectral search