new monster[47]; // creates an array with 47 cellsmonster[0] = ...monster[1] = ...// then usemonster[random(47)] // as random id