Checking if total is 0