Added some PDO functionality