avoiding auto initialization with custom frame