start at 1 since 0 % 0 is 0