correct armadillo searching