refine 2-2
modifeid loop logic 2-2