main and head revisions