search working

but in controller