figuring out headers