part 62 main

corrected part 8 code as well