apd
part 2 final version