made changes to sample node