moved to pure sql searching amoug other things