Wrote getSearch_a_n()
added getSearch_a_n()