replace setup with configure