Introduced write layer
Added a write layer