'add functino prob 2