Adding the logic for the zero.