Add samples, fix "refine" of {main}