changed for 3 measures