type correction, thanks to A. Hayward