refine infrastructure