resolve mod 10