spawn block in init