The code for DA HW