added frame class