pdf + sql part 2 + event part 2