pre-generating some stuff for the list of references