Recent trends in flexible manufacturing