Removed debugging code on part2