now using pdo