Removed the write function from exclude