with render sample