printing working with header