Copied from writtn