refactor code by sgn