Created an add headers method