added frame layout