implemented spawn location