added a semi-sensible record infrastructure.