added local.spawn* funcs