corrections from Dimitris