Optimizing human-machine interaction: Safe collaboration with machine of the future