refactored randomizer into dependency of monster