nearly complete layout