add profile scope to sample