bunch of stuff schooched around to get ready for adding the usability to
the template.