rewrote rotten tomato call to use modules for more efficiency