use modulo for angle overflow