Added a spawning system