added writes to queue