Use correct functions
Use new PDO