seems liek a better way to add headers