yup, so we should generalize it so it's not search specific. then we can re-use it for other things.