add unit 3-10, fixed negative modulo result (incluidng w/ unit 3-9)