should be sizeof(config)