Fixed User sample function.