adding pdo stuff