Revert "cleaned up code" and put in comments for later use

This reverts commit 8e97cb8e93a557d3103104492a32199e1e38bed3.

Conflicts:
	templates/specialfields.html