add code to find bug.