Modified version.