Looks like here is missing 3 lines.