frame class