fitting to header-map