cleaned up the rat class, but it did nothing to fix issue #7

going to tackle issue #8 next