implemented concurrent/serial search