a little change with the second way