refine require statement