First draft/prototype for AIO transaction write