random spawning added