port the samples