spawnHandler is a horrible name