use enum for samples