additional changes to sample