working searchbox