switched order so search is drawn on top