fixed issues. finished part 8a