switched to pdo