for branch1 problem