added PDO changes