first specs, fix search bug