Merge pull request #41 from cowcomic/addRat

add rat check