loop measurement