some methods, using trig to avoid complex numbers