Now the function doesn't work for the normal case.