write all types