added comments, fixed monsterCount