write cat