Demo of relations setup. Definitely broken, since  can't be passed to function.