fixed the equation being used, although it will show true if the inside
of the ring is touched. not sure if we want that