Made spawn properly random