Removed unused params in the sample