refine code, improve performance