begin write back-end