nit: use a local var `title`