adding debug headers