Final change

Slightly edited the codes to make it identify where the function is
broken.