Search is now (crudely) functional