Refine setup