added delay on search