headers for composing, error checking