beginning of rewrite of related.tex