Add documentation and minor code-refactoring

Can't this 35 be calculated from all the other constants we've already set up?