first steps to integrate patterns and measurements