add contraints in scene2