Replace feature with sample