Handles data1 = 0 and data2 = 0