This file needs to be properly commented. I'll get to that next (don't worry about its absence for now).