modify the second function