move some functions and exceptions around
ignore .example