for APT HW1