pdf creation added to official solution