refine spec