added addr[0]