remove redundant code, not necessary for the samples to make sense
Testing samples