fix second segmentation error. ready to begin testing for search, approach, and collect