created Frame class