remove type from sample helper