Refine sample data