implement IFrameFactory interface