switch to pdo