layout template revised