Revert "deleted undefined functions"

Conflicts:
	papers.py