add defs for PDO