added searchbox code