refine code and options