moving measure call to fragment