Adding write path WIP