added the cat argument