final changes to get the PDO stuff finally working!