Search functionality semi-working