add data output in head