added frame struct