flag = 0