renamed ips & ops to sample_ips & sample_ops