let the Add function return the current id