Refactoring and addCreatureArray