template use to add property key to sample