synced write and parse