minor changes to written