questionable stgFrame implementation