Role of smart manufacturing in industry 4.0