nit: can put extends on same line