cleaned up part2 md