change get int function and add operate text