using predistortion during writing