reorder requires and *ns* var