wrapped some config in `configure`