DB insertion, pdf initial steps