node and spawn fun