implemented add a number