adding support for monster spawning