From data to control