formatting sync with 4.4 version of file (some is actually against stds but sync is pref
use according code from 4.4