refactoring of the createHives() method (addition)