working on writes