basic search and correction is working