added spawn.consume