add select statement for measurements