using and refine