applied typo corrections from Franck