added writable flag