updated hw-1