added spawning block and character switching